﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000915 RID: 2325
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HHGENHNPJGI : IMessage<HHGENHNPJGI>, IMessage, IEquatable<HHGENHNPJGI>, IDeepCloneable<HHGENHNPJGI>, IBufferMessage
	{
		// Token: 0x17001D66 RID: 7526
		// (get) Token: 0x06006836 RID: 26678 RVA: 0x0011767C File Offset: 0x0011587C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HHGENHNPJGI> Parser
		{
			get
			{
				return HHGENHNPJGI._parser;
			}
		}

		// Token: 0x17001D67 RID: 7527
		// (get) Token: 0x06006837 RID: 26679 RVA: 0x00117683 File Offset: 0x00115883
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HHGENHNPJGIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D68 RID: 7528
		// (get) Token: 0x06006838 RID: 26680 RVA: 0x00117695 File Offset: 0x00115895
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HHGENHNPJGI.Descriptor;
			}
		}

		// Token: 0x06006839 RID: 26681 RVA: 0x0011769C File Offset: 0x0011589C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHGENHNPJGI()
		{
		}

		// Token: 0x0600683A RID: 26682 RVA: 0x001176A4 File Offset: 0x001158A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHGENHNPJGI(HHGENHNPJGI other) : this()
		{
			this.lCJAIHOGECO_ = other.lCJAIHOGECO_;
			this.eventId_ = other.eventId_;
			this.optionId_ = other.optionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600683B RID: 26683 RVA: 0x001176E1 File Offset: 0x001158E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHGENHNPJGI Clone()
		{
			return new HHGENHNPJGI(this);
		}

		// Token: 0x17001D69 RID: 7529
		// (get) Token: 0x0600683C RID: 26684 RVA: 0x001176E9 File Offset: 0x001158E9
		// (set) Token: 0x0600683D RID: 26685 RVA: 0x001176F1 File Offset: 0x001158F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LCJAIHOGECO
		{
			get
			{
				return this.lCJAIHOGECO_;
			}
			set
			{
				this.lCJAIHOGECO_ = value;
			}
		}

		// Token: 0x17001D6A RID: 7530
		// (get) Token: 0x0600683E RID: 26686 RVA: 0x001176FA File Offset: 0x001158FA
		// (set) Token: 0x0600683F RID: 26687 RVA: 0x00117702 File Offset: 0x00115902
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x17001D6B RID: 7531
		// (get) Token: 0x06006840 RID: 26688 RVA: 0x0011770B File Offset: 0x0011590B
		// (set) Token: 0x06006841 RID: 26689 RVA: 0x00117713 File Offset: 0x00115913
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OptionId
		{
			get
			{
				return this.optionId_;
			}
			set
			{
				this.optionId_ = value;
			}
		}

		// Token: 0x06006842 RID: 26690 RVA: 0x0011771C File Offset: 0x0011591C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HHGENHNPJGI);
		}

		// Token: 0x06006843 RID: 26691 RVA: 0x0011772C File Offset: 0x0011592C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HHGENHNPJGI other)
		{
			return other != null && (other == this || (this.LCJAIHOGECO == other.LCJAIHOGECO && this.EventId == other.EventId && this.OptionId == other.OptionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006844 RID: 26692 RVA: 0x00117788 File Offset: 0x00115988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LCJAIHOGECO != 0U)
			{
				num ^= this.LCJAIHOGECO.GetHashCode();
			}
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this.OptionId != 0U)
			{
				num ^= this.OptionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006845 RID: 26693 RVA: 0x001177F9 File Offset: 0x001159F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006846 RID: 26694 RVA: 0x00117801 File Offset: 0x00115A01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006847 RID: 26695 RVA: 0x0011780C File Offset: 0x00115A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.EventId);
			}
			if (this.LCJAIHOGECO != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.LCJAIHOGECO);
			}
			if (this.OptionId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.OptionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006848 RID: 26696 RVA: 0x00117884 File Offset: 0x00115A84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LCJAIHOGECO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LCJAIHOGECO);
			}
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this.OptionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OptionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006849 RID: 26697 RVA: 0x001178F4 File Offset: 0x00115AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HHGENHNPJGI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LCJAIHOGECO != 0U)
			{
				this.LCJAIHOGECO = other.LCJAIHOGECO;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			if (other.OptionId != 0U)
			{
				this.OptionId = other.OptionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600684A RID: 26698 RVA: 0x00117958 File Offset: 0x00115B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600684B RID: 26699 RVA: 0x00117964 File Offset: 0x00115B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 56U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.OptionId = input.ReadUInt32();
						}
					}
					else
					{
						this.LCJAIHOGECO = input.ReadUInt32();
					}
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040027C8 RID: 10184
		private static readonly MessageParser<HHGENHNPJGI> _parser = new MessageParser<HHGENHNPJGI>(() => new HHGENHNPJGI());

		// Token: 0x040027C9 RID: 10185
		private UnknownFieldSet _unknownFields;

		// Token: 0x040027CA RID: 10186
		public const int LCJAIHOGECOFieldNumber = 7;

		// Token: 0x040027CB RID: 10187
		private uint lCJAIHOGECO_;

		// Token: 0x040027CC RID: 10188
		public const int EventIdFieldNumber = 2;

		// Token: 0x040027CD RID: 10189
		private uint eventId_;

		// Token: 0x040027CE RID: 10190
		public const int OptionIdFieldNumber = 12;

		// Token: 0x040027CF RID: 10191
		private uint optionId_;
	}
}
